﻿namespace PMS.Web.Controllers.WebApi
{
    public static class ApiResponseMessages
    {
        #region CommonResponse
        public const string ModelDataNotCorrect = "非法数据提交,禁止劫持篡改数据,操作中止";
        public const string ModelUpdateSuccess = "修改成功";
        public const string AccountNotAvailable = "账号暂不可用,可能原因：1、账号不存在; 2、账号被锁定; 3、账号已注销";
        public const string EntityNotFound = "指定查询数据：{0} 为空, 可能影响相关业务操作";
        public const string ParenIdNotFound = "父节点不存在";
        public const string ArgumentCannotBeNull = "数据提交错误：提交数据不能为空";
        public const string UnAuthorizedPermission = "服务器拒绝了您的操作请求:您没有该服务的操作权限";
        public const string DuplicationAction = "无效的重复操作";
        public const string EmptySMSCode = "短信验证码不能为空";
        public const string SMSCodeWrong = "短信验证码校验错误";
        public const string EmptyEmailCode = "邮箱验证码不能为空";
        public const string EmailVerifyCodeWrong = "邮箱验证码校验错误";
        public const string IllegalEmail = "邮箱地址格式错误";
        public const string IllegalMobile = "手机号码格式错误,目前仅支持中国大陆11位有效手机号码";
        #endregion

        #region Captcha
        public const string CaptchaNotEnabled = "验证码服务未启用，请检查系统配置";
        #endregion

        #region CustomerRegister
        public const string CustomerAlreadyLoggin = "已登录用户重复注册，如需注册新账号，请先退出登录。";
        public const string CustomerRegistedSuccess = "注册已成功，请使用新账号登录，祝您生活愉快";
        public const string CustomerRegistedSuccessAndEmailValidation = "注册已成功，请您稍后登录注册邮箱进行账号激活";
        public const string CustomerRegistedSuccessAndAdminAppove = "注册已成功，需要等待管理员审核通过后账号才能激活使用";
        #endregion

        #region CustomerLogin
        public const string CustomerLoginSuccess = "欢迎回来, 祝您生活愉快 ^_^";
        public const string CustomerNotExsits = "账号不存在，是否还未注册账号?";
        public const string CustomerDeleted = "该账号已注销,如有疑问请联系管理员";
        public const string AccountNotActivedYet = "该注册账号还未激活, 请联系管理员激活账号或通过注册邮箱邮件激活账号";
        public const string AccountLoginLimitation = "该账多次密码错误,已被限制登录,请在{0}后尝试重新登录";
        public const string AccountLockedOut = "该账号已被锁定,请联系管理员或通过密码找回解锁";
        public const string AccountPasswordNotMatch = "登录密码错误,多次输错密码账号会被限制登录或锁定";
        public const string AccountUnAuthorizedWithAdminRoles = "服务器拒绝了您的登录：您的账号没有管理员权限";
        #endregion

        #region CustomerPasswordRecover
        public const string RecoverByEmailSuccess = "您的重置密码申请已经确认,请您前往提交的邮箱查收邮件进行密码重置。可能会有延迟请耐心等待~";
        public const string PasswordRecoveryTokenNotAvalable = "重置密码失败,可能原因: 1、密码已重置,请勿重复操作; 2、无效的重置密码请求链接。";
        public const string PasswordRecoveryTokenExpired = "当前重置密码链接已失效,请重新通过“找回密码”服务重置密码。";
        public const string PasswordRecoveryPostSuccess = "您的密码已重置,请妥善保管新密码~";
        #endregion

        #region Customer
        public const string NotBackendAdmin = "用户角色为非后台系统管理员角色,操作取消";
        public const string CustomerCreateSuccess = "新账号创建成功, 如为后台管理账号, 请记得为账号分配后台管理角色。";
        public const string CustomerEditSuccess = "用户信息编辑成功";
        public const string CustomerDeleteSuccess = "用户注销成功";
        public const string AdminAccountShouldExistsFromDelete = "系统里已无其他系统管理员, 请保证系统至少有一个系统管理员存在。";
        public const string CustomerNotAllowedToDeleteHimself = "禁止用户删除自已账号，如有需要，请通过账号注销功能完成";
        public const string OnlyAdminCanDeleteAdmin = "当前用户为系统管理员,您无权删除。";
        public const string NoCustomerRoleAssgined = "分配给指定用户的角色不能为空";
        public const string CustomerRoleAssgined = "用户角色分配成功";
        public const string CantSendEmailWithEmailUnBind = "用户还未绑定邮箱, 无法发送邮件";
        public const string EmailServiceNotEnable = "邮件账号设置为关闭状态,无法发送邮件";
        public const string EmailAccountLoadError = "未配置邮件发送所需要的发送服务账号信息";
        public const string CustomEmailSendSuccess = "邮件已加入排队队列,等待发送";
        public const string CustomEmailIllegalWordsReplaced = "待发送邮件含敏感词汇,已被过滤,并已加入排队队列,等待发送";
        public const string CustomerAlreadyExsits = "指定账号已存在";
        public const string CustomerAccountNotChange = "修改账号信息与原账号信息一致,无需修改";
        public const string ShortMessageSendSuccess = "短信已发送,请注意查收";
        public const string ShortMessageSendFailed = "短信发送失败,请联系系统管理员或稍后重试";
        public const string CustomerAccountChangeSuccess = "账号绑定成功,下次登录请记得使用新账号登录哦~";
        #endregion

        #region SystemModule
        public const string SystemModulePageAssignedButtonsChange = "模块中有取消的按钮已经分配角色权限, 是否取消该按钮的权限分配？";
        #endregion

        #region ScheduleTask
        public const string TaskStatusIsError = "计划任务上次运行发生错误，请排除错误后再启动任务";
        public const string TaskPauseFailedFromStop = "无效操作：任务处于停止状态";
        #endregion

        #region Medias
        public const string MediaFileNotSupport = "文件上传服务中止：暂不支持文件格式为 \"{0}\" 的文件上传服务";
        public const string MediaFileIdErrorForDelete = "未指定待删除资源文件ID";
        #endregion
    }
}
